<template>
    <div class="header">
        <div class="nav">
            <img class="logo" src="@/assets/img/img-templet/logo.png" alt="">
            <div class="position"><a href="">北京<img
                        src="@/assets/img/img-templet/logo-bottom.png"
                        alt=""></a>
            </div>
            <ul class="type">
                <li><a href="">北京站</a></li>
                <li><a href="">演唱会</a></li>
                <li><a href="">音乐会</a></li>
                <li><a href="">话剧歌剧</a></li>
                <li><a href="">体育</a></li>
            </ul>
            <input type="text" placeholder="请输入演出、赛事、艺人、场馆名称...">
            <button><img src="@/assets/img/img-templet/search.png"
                    alt=""></button>
            <ul class="login">
                <li><a href="login.html">登录</a></li>
                <li><a href="resigter.html">注册</a>
                </li>
            </ul>
        </div>
    </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.header {
    width: 100%;
    height: 70px;
    background-color: #fff;
    .nav {
        width: 1200px;
        margin: 0 auto;
        height: 100%;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        .logo {
            height: 30px;
            margin-right: 30px;
        }
        .position {
            display: flex;
            align-items: center;

            margin-right: 20px;
            a {
                font-size: 12px;
                text-decoration: none;
                color: black;
                img {
                    margin-bottom: 2px;
                    margin-left: 5px;
                }
            }
        }
        .type {
            list-style: none;
            display: flex;
            margin-right: 80px;
            li {
                font-size: 12px;
                margin-right: 20px;
                a {
                    text-decoration: none;
                    color: black;
                    &:hover {
                        color: #ff3c1b;
                    }
                }
            }
        }
        input {
            height: 35px;
            width: 300px;
            padding-left: 20px;
            border: 1px solid #ccc;
            border-right: none;
            border-top-left-radius: 17.5px;
            border-bottom-left-radius: 17.5px;
            box-sizing: border-box;
            outline: none;
            &::placeholder {
                font-size: 12px;
            }
        }
        button {
            height: 35px;
            width: 35px;
            background-color: #fff;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-left: none;
            border-top-right-radius: 17.5px;
            border-bottom-right-radius: 17.5px;
            img {
                margin-top: 2px;
            }
        }
        .login {
            list-style: none;
            display: flex;
            margin-left: 150px;
            font-size: 12px;
            li {
                padding: 0px 5px;
                &:first-child {
                    border-right: 1px solid black;
                }
                a {
                    text-decoration: none;
                    color: black;
                }
            }
        }
    }
}
</style>